package com.bao1;

import org.springframework.stereotype.Component;

@Component("some1")
public class someImpl implements some {
    @Override
    public void dosome(int age,String name) {
        System.out.println("名字："+name+",年龄："+age);
    }

    @Override
    public void doother(student o) {
        System.out.println(o.age+o.name);
    }

    @Override
    public String dofrist(int age, String name) {
        System.out.println(age+name);
        return "dofrist";
    }

    @Override
    public void dosecond() {
        System.out.println("dosecond");
    }

    @Override
    public void dothree() {
        System.out.println("dothree");
    }
}
